package com.server.rule.data;
import com.shared.rule.TypeDataRule;

public class NumericDataElement extends DataElement{
	
	private Double value;
	
	public NumericDataElement(Double value,boolean isParameter) {
		super(isParameter);
		this.value = value;
	}

	@Override
	public DataValue<? extends Object> getValue() {
		return new DataValue<Double>(value);
	}
	
	public void setValue(Double value) {
		this.value = value;
	}
	
	@Override
	public TypeDataRule getTypeData() {
		return TypeDataRule.NUMERIC;
	}
}
